//
//  HRZHomeRecommendCell.h
//  EMarket
//
//  Created by 石头 on 2018/9/6.
//  Copyright © 2018 好日子. All rights reserved.
//

#import <UIKit/UIKit.h>

@class HRZHomeItemModel;
@class HRZHomeRecommendCell;

@protocol HRZHomeRecommendCellDelegate <NSObject>

/**
 动态改变UITabelViewCell的高度

 @param cell cell
 @param height  height
 @param indexPath indexPath
 */
- (void)updateTabelViewCellHeight:(HRZHomeRecommendCell *)cell andHeight:(CGFloat)height andIndexPath:(NSIndexPath *)indexPath;


/**
 点击后的代理方法

 @param indexPath indexPath
 @param content contentItem
 */
- (void)didSelectItemAtIndexPath:(NSIndexPath *)indexPath withContentItem:(HRZHomeItemModel *)content;

@end

@interface HRZHomeRecommendCell : UITableViewCell

@property (nonatomic, weak) id<HRZHomeRecommendCellDelegate> delegate;

@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, strong) HRZHomeItemModel *model;


@end
